home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
tools
/
czesc_3
/
parex
/
install
< prev
next >
Wrap
Text File
|
1993-11-24
|
4KB
|
162 lines
; PARex v3.00 Install Script
; ~~~~~~~~~~~~~~~~~~~~~~~~~~
; Update: 23-Nov-93
; $VER: PARexInstall 39.008 (23.11.93) PARex v3.00 installation script.
; PURPOSE: The following script will auto-install the PARex files.
FAILAT 21
RESIDENT >NIL: RETURN
RESIDENT >NIL: ECHO
ECHO "*ec*e[1mPARex v3.00 Installation script*e[0m*n"
RETURN Do you wish to install the PARexScripts (y/n) ?
IF $return EQ "121"
ECHO "yes"
ELSE
ECHO "no"
SKIP InstallBinary
ENDIF
; -------------- PAREX script files
ECHO "*nPARex script files installation...*n"
ECHO " Looking for *"S:PARex*"..."
IF NOT EXISTS S:PARex
RETURN "S:PARex" doesn't exist, create it (y/n) ?
IF $return EQ "121"
ECHO "yes"
MAKEDIR S:PARex
ELSE
ECHO "no"
SKIP InstallBinary
ENDIF
ELSE
RETURN OK to update "S:PARex" (y/n)?
IF $return EQ "121"
ECHO "yes"
ELSE
ECHO "no"
SKIP AssignPARex
ENDIF
ENDIF
ECHO " Updating *"S:PARex*"..."
COPY PARexScripts/#? TO S:PARex ALL QUIET
LAB AssignPARex
ASSIGN >NIL: PAREX: S:PARex
ECHO " Assigned *"PAREX:*" TO *"S:PARex*"!"
ECHO " *n*e[1mNOTE*e[0m: include the following in your *"Startup-Sequence*" : ASSIGN PAREX: S:PARex"
ECHO " include the following in your *"Startup-Sequence*" and *"Shell-Startup*" : PATH PAREX: ADD*n"
; -------------- PAREX binary file
LAB InstallBinary
ECHO "*nPARex binary files installation...*n"
RETURN OK to copy PARex programs to "C:" (y/n) ?
IF $return EQ "121"
ECHO "yes"
ELSE
ECHO "no*n*nInstallation interrupted!"
SKIP Quit
ENDIF
ECHO "*n Which language to install as *"PARex*" and *"WildPARex*" ?"
ECHO " (e) English version"
ECHO " (d) Deutsche Version"
ECHO " (f) version Française"
ECHO " (n) Nederlandse versie"
RETURN Language:
COPY ENV:return ENV:prxLANG
IF $prxLANG EQ "100" ; german
ECHO "Deutsche Version"
COPY PARex/PARexD TO C:PARex QUIET
COPY PARex/WildPARexD TO C:WildPARex QUIET
ELSE
IF $prxLANG EQ "102" ; french
ECHO "version Française"
COPY PARex/PARexF TO C:PARex QUIET
COPY PARex/WildPARexF TO C:WildPARex QUIET
ELSE
IF $prxLANG EQ "110" ; dutch
ECHO "Nederlandse versie"
COPY PARex/PARexN TO C:PARex QUIET
COPY PARex/WildPARexN TO C:WildPARex QUIET
ELSE ; english
SETENV prxLANG 97
ECHO "English version"
COPY PARex/PARexE TO C:PARex QUIET
COPY PARex/WildPARexE TO C:WildPARex QUIET
ENDIF
ENDIF
ENDIF
RETURN \n Install other language versions (y/n) ?
IF $return EQ "121"
ECHO "yes"
IF NOT $prxLANG EQ "100" ; german version
RETURN - German version (y/n):
IF $return EQ "121"
ECHO "installing *"PARexD*" & *"WildPARexD*"..."
COPY PARex/#?PARexD C: QUIET
ELSE
ECHO "-"
ENDIF
ENDIF
IF NOT $prxLANG EQ "102" ; french version
RETURN - French version (y/n):
IF $return EQ "121"
ECHO "installing *"PARexF*" & *"WildPARexF*"..."
COPY PARex/#?PARexF C: QUIET
ELSE
ECHO "-"
ENDIF
ENDIF
IF NOT $prxLANG EQ "110" ; dutch version
RETURN - Dutch version (y/n):
IF $return EQ "121"
ECHO "installing *"PARexN*" & *"WildPARexN*"..."
COPY PARex/#?PARexN C: QUIET
ELSE
ECHO "-"
ENDIF
ENDIF
IF NOT $prxLANG EQ "97" ; english version
RETURN - English version (y/n):
IF $return EQ "121"
ECHO "installing *"PARexE*" & *"WildPARexE*"..."
COPY PARex/#?PARexE C: QUIET
ELSE
ECHO "-"
ENDIF
ENDIF
ELSE
ECHO "no*n"
ENDIF
; --------------
ECHO "*nInstallation complete...enjoy PARex v3.00!*n"
LAB Quit